$(function(){
	$(".countEva").click(function(){
  $("#startE").modal('show');
	$.ajax({
      type: "POST",
      url:"/evaluate/count_evaluation/",
      success: function(data){
        $('#count-message').remove()
        $('#count-box').prepend('<span>计算成功，2秒后自动刷新...</span>')
        setTimeout(function () {
          window.location.href="/evaluate/count_evaluation_index/"
        }, 2000);
      },
      error:function(){ 
          alert('运行出错!')
          window.location.href="/evaluate/count_evaluation_index/"                       
      }
    }); 
	});
})
